projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5b496
)
(Fx_wm_set_size_hint): Check if the frame is an X frame.
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 01:21:17 +0000
(
01:21
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 01:21:17 +0000
(
01:21
+0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index 166cca63f2bdc73d67612a4ff35ebbd73307ff1e..5b4d40100c28fbe46d788741ff320581b58c2dbd 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-3112,7
+3112,8
@@
If FRAME is nil, use the selected frame. */)
frame = selected_frame;
f = XFRAME (frame);
BLOCK_INPUT;
- x_wm_set_size_hint (f, 0, 0);
+ if (FRAME_X_P (f))
+ x_wm_set_size_hint (f, 0, 0);
UNBLOCK_INPUT;
return Qnil;
}